<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Vite + TS</title>
  </head>
  <body style="padding: 40px">
    <h1>Accordion</h1>

    <div class="accordion">
      <div class="accordion-item" data-value="a">
        <button class="accordion-trigger">First Button</button>
        <div class="accordion-content">First Content</div>
      </div>

      <div class="accordion-item" data-value="b">
        <button class="accordion-trigger">Second Button</button>
        <div class="accordion-content">Second Content</div>
      </div>

      <div class="accordion-item" data-value="c">
        <button class="accordion-trigger">Third Button</button>
        <div class="accordion-content">Third Content</div>
      </div>
    </div>

    <script type="module" src="./accordion.ts"></script>
  </body>
</html>
